

#include<iostream>
#include "Dictionary.hpp"

int main()
{
    directory dict = directory("words.txt");
    std::string word;
    while(std::cin >> word)
    {
        std::cout << dict.find(word) << std::endl;
    }
    return 0;
}